import request from '/@/utils/request';

export const pageList = (data: any) => {
	return request({
		url: '/geoserver/geoLayerGroup/findGeoLayerGroupPageList',
		method: 'post',
		data,
	});
};

export const addLayerGroup = (data: any) => {
	return request({
		url: '/geoserver/geoLayerGroup/addGeoLayerGroup',
		method: 'post',
		data,
	});
};

export const updataLayerGroup = (data: any) => {
	return request({
		url: '/geoserver/geoLayerGroup/updateGeoLayerGroup',
		method: 'post',
		data,
	});
};

export const deleteLayerGroup = (data: any) => {
	return request({
		url: '/geoserver/geoLayerGroup/delGeoLayerGroup',
		method: 'post',
		data,
	});
};
